using System;
using SHDocVw;

namespace Thinxoft.XedusLive
{
	/// <summary>
	/// wraps an  instance of internet explorer with associated metadata 
	/// </summary>
	public class IEObject
	{
		InternetExplorer ie;
		int instance;
        bool open;
		public IEObject(InternetExplorer ie, int instance)
		{
			this.ie = ie;
			this.instance = instance;
		}

        public bool Open
        {
            get
            {
                return open;
            }
            set
            {
                open = value;
            }
        }

		public InternetExplorer IE
		{
			get
			{
				return ie;
			}
		}

		public int Instance
		{
			get
			{
				return instance;
			}
		}
	}
}
